<%
String _contextPath_=request.getContextPath().equals("/")?"":request.getContextPath();
pageContext.setAttribute("_contextPath_",_contextPath_);
%>
<script language="JavaScript">
   window.top.location.href="<%=_contextPath_%>/login.jsp";
</script>